package com.mangguo.tingjian.content.service;

import com.mangguo.tingjian.content.dto.*;

import java.util.List;

/**
 * 内容数据查询接口
 */
public interface IContentDataService {

    ContentDataAudioResult getSimpleForAudio(Long audioId, Integer start, Integer end);
    ContentDataAlbumResult getSimpleForAlbum(List<Long> audioIds,  Long albumId, Integer start, Integer end);
    ContentDataAuthorResult getSimpleForAuthor(String authorName, Integer start, Integer end);
    List<ContentDataAudioTableResult> getTableDataForAudio(Long audioId, String audioName, Integer start, Integer end);
    List<ContentDataAudioTableResult> getTableDataForAudios(List<Long> audioIds, Integer start, Integer end);
    Long getAudioIdByAudioNameAndAlbumName(String audioName, String albumName);
    List<Long> getAudioIdByAlbumNameAndCmo(String albumName, String cmo);
    List<Long> getAudioIdByAlbumId(Long albumId);
    List<Long> getAlbumIdByAuthorName(String authorName);
    Long getAlbumIdByAlbumNameAndCmo(String albumName, String cmo);
    String getAudioNameByAudioId(Long audioId);
    List<ContentDataAuthorTableResult> getTableDataForAlbum(Long albumId, Integer start, Integer end);
    List<ContentDataAuthorTableResult> getTableDataForAlbums(List<Long> albumIds, Integer start, Integer end);
}
